package com.sun.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Hello {

    @RequestMapping("/hello")
    public String hello(){
        System.out.println("hello springmvc");
        return "success";
    }

//    @RequestMapping("/welcome")
//    public String welcome(){
//        return "welcome";
//    }
}
